package chapter9;


import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.Month;
import java.time.Period;


public class Game {
    public static void main(String...args) {
        LocalDate date = LocalDate.now();
        int year = date.getYear();
        Month month = date.getMonth();
        int day = date.getDayOfMonth();
        DayOfWeek dow = date.getDayOfWeek();
        int len = date.lengthOfMonth();
        boolean leap = date.isLeapYear();


        Period tenDays = Period.between(LocalDate.of(2014, 3, 8),
                LocalDate.of(2014, 3, 18));
        System.out.println(tenDays);
    }
    }

